class SceneEnd extends GuaScene {
    constructor(game) {
        super(game)

        game.registerAction('r', function() {
            var main = new SceneTitle(game)
            game.replaceScene(main)

        })

    }


    draw() {
        this.game.context.strokeText('游戏结束, 按 r 返回标题界面', 20, 250)
    }

}